
<template>
  <div class="container">
    <!-- {{msg}}
    <button @click="say">点击</button> -->
    <router-view></router-view>
  </div>
</template>

<script>
// import { sayHello } from "./utils/test.js";
import { sayHello } from "@/utils/test.js";
export default {
  data() {
    return {
      msg: "我是组件",
    };
  },
  methods: {
    say() {
      sayHello();
    },
  },
};
</script>

<style lang='less'>
// .container {
//   width: 300px;
//   height: 100px;
//   background-color: brown;
//   color: #ffffff;
// }
</style>